<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>维修工单消息列表</title>
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../script/vant/index.css" />
    <link rel="stylesheet" type="text/css" href="css/headersearch.css" />
    <link rel="stylesheet" type="text/css" href="css/customerservicelist.css" />
    <link rel="stylesheet" type="text/css" href="../script/mui/mui.picker.min.css" />
    <link rel="stylesheet" type="text/css" href="../script/mui/mui.reset.css" />
    <style>
        .aui-refresh-content {
            margin-top: 0.5rem;
        }

        .aui-content.headerBox {
            height: 1.5rem;
        }

        .organization_list_li_icon {
            margin-top: 1rem;
        }

        .aui-content {
            width: 100%;
            overflow: auto;
        }

        .fullName {
            height: 1rem;
            line-height: 1rem;
            background: #fff;
            text-indent: 1rem;
            color: #999;
            position: fixed;
            width: 36%;
            margin-left: 32%;
            z-index: 99;
        }

        .new-span-width i {
            font-size: 14px;
            margin-left: 6px;
        }

        .typeitem {
            width: 100%;
            /* background: #f00; */
        }

        .boxtime {
            width: 100%;
            height: 30px;
            line-height: 30px;
            text-align: center;
            font-size: 0.7rem;
        }

        .boxcenter {
            width: 95%;
            margin: 0 auto;
            padding: 10px 4px;
            overflow: hidden;
        }

        .boxpic {
            width: 15%;
            float: left;
            /* background: #f00; */
        }

        .boxpic img {
            width: 2rem;
            height: 2rem;
        }

        .boxarea {
            width: 85%;
            float: right;
        }

        .mainbox {
            margin-top: 0px;
            padding-bottom: 10px;
        }

        .workheader {
            width: 100%;
            margin: 0px 0px 10px 0px;
            overflow: hidden;
        }

        .work_con_box_left {
            width: 10%;
        }

        .work_con_box_right {
            width: 100%;
        }

        .work_title_add {
            width: 80%;
            height: 15px;
            line-height: 15px;
            padding-left: 10px;
            margin-top: 5px;
            border-left: solid 2px #289FFF;
            overflow: hidden;
            font-size: 0.75rem;
            font-weight: bold !important;

        }

        .label-btn-red {
            background: #FFF7EF;
            padding: 0px 3px;
            border-radius: 4px;
            margin-left: 4px;
            font-size: 0.6rem;
            color: #FF7056;
        }

        .label-btn-blue {
            background: #f0fbff;
            padding: 0px 3px;
            border-radius: 4px;
            margin-left: 4px;
            font-size: 0.6rem;
            color: #289FFF;
        }

        .marginheight {
            margin-top: 0.2rem;
        }

        .work_con_box_left i {
            font-size: 1rem !important;
            color: #666;
        }

        .work_con_box_right label.title {
            color: #000;
            font-size: 0.75rem;
            /* font-weight: 600; */
        }

        .maskbg {
            background: rgba(0, 0, 0, .5);
            z-index: 98;
            position: fixed;
            top: 0;
            bottom: 0;
            width: 100%;
        }

        .choosebox {
            position: fixed;
            top: 22%;
            left: 0;
            right: 0;
            /* padding: 15px; */
            border-top: solid 1px #eee;
            margin-top: 5px;
            background: #fff;
            padding-bottom: 10px;
            z-index: 99;
            height: 50%;
            overflow-y: scroll;
        }

        .showTopstyle {
            width: 50%;
            min-height: 20px !important;
            max-height: 100px !important;
            height: auto;
            top: 40%;
            margin: 0 auto;
            border-radius: 6px;
        }

        .topstyle {
            width: 100%;
            height: 48px;
            line-height: 48px;
            text-align: center;
            color: #333;
            font-size: 0.8rem;
            font-weight: bold;
            border-top: solid 0.5px #f7f7f7;
        }

        .typestatus {
            width: 18%;
            text-align: right;
            background: unset !important;
            float: right;
        }

        .openlist {
            width: 100%;
            height: 2.5rem;
            line-height: 2.5rem;
            background: #fff;
            border-top: solid 0.5px #f5f5f5;
            text-align: center;
            position: fixed;
            font-size: 0.8rem;
            bottom: 0px;
            z-index: 99999;
        }

        .openlist i {
            position: relative;
            top: -2px;
            color: #999;
            font-size: 0.6rem;
            margin-left: 5px;
        }

        .new-btn-bottom {
            width: 100%;
            margin: 0 auto;
            display: flex;
            margin-top: 20px;
            /* padding-top: 10px; */
            flex-direction: row;
            justify-content: center;
        }

        .new-blue-btn {
            width: 50%;
            text-align: center;
            margin: 0 5px;
            margin-bottom: 0px;
            /* font-weight: bold; */
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <!-- 弹框黑色背景 -->
        <div v-on:click="doHideWin()" v-if="showWin" class="maskbg">
        </div>
        <div v-if="showWin" class="choosebox showTopstyle">
            <div v-if="isShowRead" class="topstyle" v-on:click="do_Read()">已读</div>
            <div class="topstyle" v-on:click="deleteItem()">删除</div>
        </div>
        <div class="aui-content">
            <div class="topmsg">
                <div class="topmsg_saixuan fl">
                    <van-checkbox v-model="checked" @click="choose_noread()">仅看未读</van-checkbox>
                </div>
                <div v-on:click="All_read()" class="topmsg_isread fr">全部标记为已读</div>
            </div>
            <section id="main_refresh" class="aui-refresh-content">
                <div class="organization_list_li_icon " v-if="list.length>0">
                    <div v-bind:id="'scroll' + item.JpushLogID" :name="'scroll-item'+item.JpushLogID" class="typeitem"
                        v-for="(item,index) in list">
                        <div class="boxtime">{{item.JpushAddTime}}</div>
                        <div class="boxbg">
                            <div class="boxcenter">
                                <div class="boxpic"><img src="../image/icon/worktask.png"></div>
                                <div class="boxarea mainbox"
                                    @touchStart="gettouchStart(index,item.JpushLogID,item.IsRead)">
                                    <div v-on:click="openGongdan(item)" class="work_con_box">
                                        <div class="workheader">
                                            <div class="work_title_add ellipsis_one fl">{{item.Title}}
                                            </div>
                                            <div v-if="item.IsRead" class="typestatus ygd">已读</div>
                                            <div v-if="!item.IsRead" class="typestatus kgx">未读</div>
                                        </div>
                                        <div class="work_con_box_time marginheight">
                                            <div class="work_con_box_right">
                                                <label>负责人：{{item.HandleUserName}}</label>
                                            </div>
                                        </div>
                                        <div class="work_con_box_time marginheight">
                                            <div class="work_con_box_right">
                                                <label>任务类型:{{item.TypeName}}</label>
                                            </div>
                                        </div>
                                        <div class="work_con_box_time marginheight">
                                            <div class="work_con_box_right">
                                                <label>任务周期：{{item.StartTimeDesc}}~{{item.EndTimeDesc}}</label>
                                            </div>
                                        </div>
                                        <div v-if="item.Content!=''"
                                            class="work_con_box_time marginheight work_con_box_contain ellipsis_two">
                                            {{item.Content}}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div v-if="list.length>0" class="notodayList" style="background:none;">
                        没有更多内容
                    </div>
                </div>
                <div class="noinfo" id="noorder" v-if="list.length==0&&!is_searching">
                    <img src="../image/index/noinfomsg_icon.png" alt="" />
                    <h5><br />暂无相关信息</h5>
                </div>
            </section>
        </div>
        <div v-on:click="open_renwu()" class="openlist">任务列表<i class="icon iconfont icon-xiangyoujiantou"></i></div>
    </div>

</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vant/vue.js"></script>
<script type="text/javascript " src="../script/vant/vant.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/mui/mui.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.picker.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.poppicker.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-dialog.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="js/worktasklist_typelist.js"></script>

</html>